package com.yida.gwj.deposit.domain.request;

import com.yida.gwj.deposit.domain.GwjDepositBusinessLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Description 单位批量缴费提交参数
 * @Author wws
 * @Date 2023-02-22
 */
@ApiModel("单位批量缴费提交参数")
public class GwjUnitDepositSubmitRequest {

    @ApiModelProperty("业务主键")
    @NotNull(message = "业务主键不能为空")
    private Long bizId;

    @Valid
    @ApiModelProperty("日志信息")
    private GwjDepositBusinessLogRequest logRequest;

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public GwjDepositBusinessLogRequest getLogRequest() {
        return logRequest;
    }

    public void setLogRequest(GwjDepositBusinessLogRequest logRequest) {
        this.logRequest = logRequest;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjUnitDepositSubmitRequest{");
        sb.append("bizId=").append(bizId);
        sb.append(", logRequest=").append(logRequest);
        sb.append('}');
        return sb.toString();
    }
}
